<template>
    <a-result status="404" title="404" :sub-title="t('404.tips')">
      <template #extra>
        <a-button type="primary" @click="backHome">{{ t('404.title')}}</a-button>
      </template>
    </a-result>
  </template>
<script setup>
import { useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
const router = useRouter();

const backHome = () => {
    router.push({ path: '/home' });
}
</script>

<style lang="scss" scoped>

</style>